package com.pswv2.bub.bsc.dao.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

import com.pswv2.core.PO;
/**
 * 关键字文本
 * @author linjiang
 *
 */
@Entity
@Table
public class ShareKWord extends PO {
	public static final Integer status_wait = 0;
	public static final Integer status_pass = 1;
	public static final Integer status_reject = 2;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(unique = true, nullable = false)
	private Integer shareKWordId; 		//文件id
	private Integer userId; 			//分享人
	private String kwords;				//关键字
	@Lob
	private String content;				//内容
	private int categoryId;				//类别id
	private int status;					//状态 0表示为等待审核，1表示审核通过，2表示审核未通过,3表示进入回收站
	private Long releaseTime;			//发布时间 
	@Override
	public Serializable getId() {
		return shareKWordId;
	}
	
	public Integer getShareKWordId() {
		return shareKWordId;
	}

	public void setShareKWordId(Integer shareKWordId) {
		this.shareKWordId = shareKWordId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getKwords() {
		return kwords;
	}

	public void setKwords(String kwords) {
		this.kwords = kwords;
	}

	public String getKWords() {
		return kwords;
	}
	public void setKWords(String kwords) {
		this.kwords = kwords;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}

	public Long getReleaseTime() {
		return releaseTime;
	}

	public void setReleaseTime(Long releaseTime) {
		this.releaseTime = releaseTime;
	}
	
}
